package com.aiatomic.couting.models;

import java.io.Serializable;

public class TemplateEntity  implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6768535638365763881L;
	public int sb_template_id;
	public int platform;
	public int group_id;
	public String group_name;
	public String res_url;
	public String pic;
	public String name;
	public int type;
	public String group_pic;
	public String version;
	public String desc;
	public boolean is_recommend;
	public int pos;
	public boolean download;
	public String tKey;
	public String shape;
	
	public String getShape() {
		return shape;
	}
	public void setShape(String shape) {
		this.shape = shape;
	}
	public String gettKey() {
		return tKey;
	}
	public void settKey(String tKey) {
		this.tKey = tKey;
	}
	public boolean isDownload() {
		return download;
	}
	public void setDownload(boolean download) {
		this.download = download;
	}
	public int getSb_template_id() {
		return sb_template_id;
	}
	public void setSb_template_id(int sb_template_id) {
		this.sb_template_id = sb_template_id;
	}
	public int getPlatform() {
		return platform;
	}
	public void setPlatform(int platform) {
		this.platform = platform;
	}
	public int getGroup_id() {
		return group_id;
	}
	public void setGroup_id(int group_id) {
		this.group_id = group_id;
	}
	public String getGroup_name() {
		return group_name;
	}
	public void setGroup_name(String group_name) {
		this.group_name = group_name;
	}
	public String getRes_url() {
		return res_url;
	}
	public void setRes_url(String res_url) {
		this.res_url = res_url;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getGroup_pic() {
		return group_pic;
	}
	public void setGroup_pic(String group_pic) {
		this.group_pic = group_pic;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public boolean isIs_recommend() {
		return is_recommend;
	}
	public void setIs_recommend(boolean is_recommend) {
		this.is_recommend = is_recommend;
	}
	public int getPos() {
		return pos;
	}
	public void setPos(int pos) {
		this.pos = pos;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + group_id;
		result = prime * result + platform;
		result = prime * result + sb_template_id;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TemplateEntity other = (TemplateEntity) obj;
		if (group_id != other.group_id)
			return false;
		if (platform != other.platform)
			return false;
		if (sb_template_id != other.sb_template_id)
			return false;
		return true;
	}
	
	
}
